#include "TcpServer.h"
int main(int argc,char* argv[])
{
    if(argc != 2)
    {
        std::cout << argv[0] << " port" << std::endl;
        return 1;
    }
    TcpServer* tp_ptr = new TcpServer(atoi(argv[1]));
    tp_ptr->Init();
    tp_ptr->Start();
    return 0;
}